package com.group7.mall.dto;

import lombok.Data;
import lombok.ToString;

@Data
@ToString
public class UserCartPreviewDto {
    /**
     * 购物车id
     */
    private Integer cartId;
    /**
     * 用户id
     */
    private String userOpenId;
    /**
     * 商品id
     */
    private Integer goodsId;
    /**
     * 店铺id
     */
    private Integer storeId;
    /**
     * 商品品种id;对应库存价格表id
     */
    private Integer combinationId;
    /**
     * 购物车数量
     */
    private Integer cartNumber;
    /**
     * 商品品种字串
     */
    private String typeInfo;
    /**
     * 商品是否失效
     */
    private Integer isInvalid;
    /**
     * 是否库存紧张
     */
    private Integer isInventoryShortage;
    /**
     * 是否库存不足
     */
    private Integer isInventoryInsufficient;
    /**
     * 创建时间
     */
    private String createdTime;
    /**
     * 更新时间
     */
    private String updatedTime;

    private String storeName;

    private String image;

    private Double price;

    private Integer inventory;

    private String goodsInfo;

    private String brand;

    private Integer goodsStatue;
}
